import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/Home'
import Shop from '@/pages/Shop.vue'
import Pin from '../pages/Pin.vue'
import ShangDian from '../pages/ShangDian.vue'
import JiaJu from '../pages/JiaJu.vue'
import CaiPu from '../pages/CaiPu.vue'
import BiZhi from '../pages/BiZhi.vue'
import TouXiang from '../pages/TouXiang.vue'
import BiaoQing from '../pages/BiaoQing.vue'
import FenLei from '../pages/FenLei.vue'
import ZhuYe from '../pages/ZhuYe.vue'
import Lun from '../pages/Lun.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/Home/shop/:id/:albumid',
      component: Shop
    },
    {
      path: '/pin',
      component: Pin
    },
    {
      path: '/shangdian',
      component: ShangDian
    },
    {
      path: '/caipu',
      component: CaiPu
    },
    {
      path: '/jiaju',
      component: JiaJu
    },
    {
      path: '/bizhi',
      component: BiZhi
    },
    {
      path: '/touxiang',
      component: TouXiang
    },
    {
      path: '/biaoqing',
      component: BiaoQing
    },
    {
      path: '/fenlei',
      component: FenLei
    },
    {
      path: '/zhuye/:id',
      component: ZhuYe
    },
    {
      path: '/lun/:id',
      component: Lun
    }
  ]
})
